GET api/SIMS/GetStockBarcodes?stockCodes[0]={stockCodes[0]}&stockCodes[1]={stockCodes[1]}&companyKey={companyKey}
Gets all the available barcodes for a list of stock codes
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| stockCodes |
The list of stock codes to fetch the barcodes for |
Collection of string |
Required |
| companyKey |
The company name if the service is connected to multiple SIMS companies (Optional) |
string |
Default value is |
Body Parameters
N/A
Response Information
Resource Description
Collection of ApiStockBarcodes| Name | Description | Type | Additional information |
|---|---|---|---|
| StockCode | string |
N/A |
|
| Barcode | string |
N/A |
Response Formats
application/json, text/json
Sample:
[
{
"StockCode": "sample string 1",
"Barcode": "sample string 2"
},
{
"StockCode": "sample string 1",
"Barcode": "sample string 2"
}
]